package com.it1997.component;


import com.it1997.domain.Actor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserTask {
    @Autowired
    private Actor actor;
    public void userTimeTask() {

        log.info("region={}",actor.getRegion());
    }
}
